﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NetWebControl.ControlTest.OA
{
    public partial class dropdown : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.DropDownListCustom1.AttrDbSelect.TableName = "System_Menu_Info";
            this.DropDownListCustom1.AttrDbSelect.KeyField = "System_Menu_Info_Id";
            this.DropDownListCustom1.DataTextField = "Name";
            this.DropDownListCustom1.DataValueField = "System_Menu_Info_Id";
            this.DropDownListCustom1.DataBindCustom();
            this.DropDownListCustom1.AddDtRow("1", "2", 0);
        }
    }
}